package com.common.util;

import lombok.Data;
import org.springframework.data.mongodb.core.index.CompoundIndex;
import org.springframework.data.mongodb.core.index.CompoundIndexes;

/**
 * 机构升级属性实体
 */
@Data
@CompoundIndexes(
        {
                @CompoundIndex(name = "uniqueOrgSeq", def = "{'orgId':1,'seqId':1}", unique = true),
        })
public class AbstractOrgSeqEntity extends AbstractOrgEntity {
   /**
    * 序号
    */
   private Long seqId;
}
